package org.amphiprion.kidcalendar.entity;

import java.util.Date;
import java.util.List;

public interface Rule {
	List<Rule> getSubRules();

	/**
	 * Return the valid period containing the given date or null if the date is not in a valid period
	 * 
	 * @param date
	 * @return
	 */
	Period verifyDate(Date date);

	String getType();
}
